package com.zhijiaoyun.model.dto;

import java.io.Serializable;

import com.zhijiaoyun.model.LearnHistory;
import com.zhijiaoyun.model.Lesson;

/**
 * @author shisfish
 * @date 2017/6/6
 */
public class LearnHistoryDto implements Serializable {
	private static final long serialVersionUID = 8140161180815670503L;

	private Lesson lesson;

    private LearnHistory learnHistory;
    
    private boolean isLastLearn = false;

	public LearnHistoryDto() {
		super();
	}

	public LearnHistoryDto(Lesson lesson, LearnHistory learnHistory) {
		super();
		this.lesson = lesson;
		this.learnHistory = learnHistory;
	}

	public Lesson getLesson() {
		return lesson;
	}

	public void setLesson(Lesson lesson) {
		this.lesson = lesson;
	}

	public LearnHistory getLearnHistory() {
		return learnHistory;
	}

	public void setLearnHistory(LearnHistory learnHistory) {
		this.learnHistory = learnHistory;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	public boolean isLastLearn() {
		return isLastLearn;
	}

	public void setLastLearn(boolean isLastLearn) {
		this.isLastLearn = isLastLearn;
	}
    
}
